package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 商会议事厅派遣日志
 */
@FieldTypeAnnotation(tableName = "t_l_union_chamber_dispatch")
public class LogUnionChamberDispatch {

    @FieldTypeAnnotation(desc = "玩家Id")
    private long userId;
    @FieldTypeAnnotation(desc = "商会Id")
    private String unionUid;
    @FieldTypeAnnotation(desc = "操作（1：派遣；0：撤回）")
    private int opts;
    @FieldTypeAnnotation(desc = "门客Id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "时间")
    long logTime;

    public LogUnionChamberDispatch(long userId, String unionUid, int opts, int patronsId, long logTime) {
        this.userId = userId;
        this.unionUid = unionUid;
        this.opts = opts;
        this.patronsId = patronsId;
        this.logTime = logTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public int getOpts() {
        return opts;
    }

    public void setOpts(int opts) {
        this.opts = opts;
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public long getLogTime() {
        return logTime;
    }

    public void setLogTime(long logTime) {
        this.logTime = logTime;
    }
}
